package com.dongjiantong.user.model;

import com.dongjiantong.mybatis.BaseEntity;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Table;
import java.util.Date;

/**
 * @author cao
 * @create 2017-11-16 下午1:32
 **/
@Table(name="region_account")
@Data
public class RegionAccount extends BaseEntity {

    @Column(name="area_name")
    private String areaName;

    @Column(name="area_code")
    private Integer areaCode;

    @Column(name="parent_id")
    private Long parentId;


    private Integer level;

    @Column(name = "province_id")
    private Integer provinceId;

    @Column(name = "city_id")
    private Integer cityId;

    @Column(name = "region_id")
    private Integer regionId;

    @Column(name = "street_id")
    private Integer streetId;


    @Column(name = "created_id")
    private Long createdId;

    @Column(name = "created_at")
    private Date createdAt;



}
